<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
    </head>
    <body>
        <!--th:text为Thymeleaf 属性，用于在展示文本-->
        <h2 th:text="${newsInfo.newsTitle}"/>
        <h3 style="color: #a12a2a; font-size:13px " th:text="${newsInfo.createTime}"/>

        <p th:text="${newsInfo.newsContent}"/>


    </body>
</html>